package com.silverbox.waimai.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * add by yxy 2019年3月19日 14:52:32
 * 订单操作关联表
 * box_waimai_operate_related
 */

public class WaimaiOperateRelated implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6992824177999524007L;

	/**
     */
    private Long id;

    /**
     * 商家ID
     */
    private Integer shopId;

    /**
     * 店铺ID
     */
    private Integer storeId;

    /**
     * 订单来源
     */
    private Long outerSupportId;

    /**
     * 订单号
     */
    private String orderNum;

    /**
     * 订单时间
     */
    private Date orderDate;

    /**
     * 操作时间类型(ORDER：下单；ADD_ORDER：加菜；SETTLE_ACCOUNTS：结账)
     */
    private String timeType;

    /**
     * 操作时间
     */
    private Date operateTime;

    /**
     * 操作人员类型(CUSTOMER：顾客点餐；WAITER：服务员；CASHIER：收银员)
     */
    private String operatorType;

    /**
     * 操作人员ID(如果是顾客操作，保存第三方用户信息ID；如果是员工操作，保存员工ID)
     */
    private Long operatorId;

    /**
     * 操作人员工号(如果是顾客操作，不需要保存)
     */
    private String operatorNum;

    /**
     * 操作人员昵称或姓名
     */
    private String operatorNick;

    /**
     * 创建时间
     */
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Long getOuterSupportId() {
        return outerSupportId;
    }

    public void setOuterSupportId(Long outerSupportId) {
        this.outerSupportId = outerSupportId;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum == null ? null : orderNum.trim();
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public String getTimeType() {
        return timeType;
    }

    public void setTimeType(String timeType) {
        this.timeType = timeType == null ? null : timeType.trim();
    }

    public Date getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(Date operateTime) {
        this.operateTime = operateTime;
    }

    public String getOperatorType() {
        return operatorType;
    }

    public void setOperatorType(String operatorType) {
        this.operatorType = operatorType == null ? null : operatorType.trim();
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperatorNum() {
        return operatorNum;
    }

    public void setOperatorNum(String operatorNum) {
        this.operatorNum = operatorNum == null ? null : operatorNum.trim();
    }

    public String getOperatorNick() {
        return operatorNick;
    }

    public void setOperatorNick(String operatorNick) {
        this.operatorNick = operatorNick == null ? null : operatorNick.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}